package com.fs.web.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.common.pojo.MenuMotion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author ACE
 * @desc 菜单动作排序
 * @creationTime 2019-04-03 22:04
 * @projectName weixinframe
 * @packageName com.fs.base.mapper
 */
@Mapper
public interface MenuMotionMapper extends BaseMapper<MenuMotion> {

    List<MenuMotion> findByMenuIdInOrderByMotionOrderAsc(@Param("menuIds") Set<Object> menuIds);

    List<MenuMotion> findById(@Param("id") List<String> id);
}
